﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/MainContent.Master"
    Inherits="System.Web.Mvc.ViewPage<IEnumerable<MShop.Core.Domain.ProductImg>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Index
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <%=Html.Partial("ETTree",ViewData["itemcats"]) %>
    <% using (Html.BeginForm())
       { %>
    <div id="rightBox">
        <div class="tabListBoxHead">
            <div style="float: left; padding-top: 3px;">
                <img src="/Content/add.png" width="16" height="16" border="0" align="absmiddle" style="margin-right: 3px;" />
                <%=Html.ActionLink("上传图片","swfupload",new{id=ViewContext.RouteData.Values["id"]}) %>
            </div>
            <div style="float: right;">
                <a href="#" onclick="history.back();">返回</a>
            </div>
        </div>
      <%=Html.Partial("pic",Model) %>
    </div>
    <%} %>
    <script type="text/javascript">
        $(document).ready(function () {
            var windowWidth = $("#rightBox").width();
            var windowHeight = $("#rightBox").height() - 60;
            $('.tabListBox').css({ 'width': windowWidth + 'px', 'height': windowHeight + 'px' });
            $(window).resize(function () {
                var windowWidth = $("#rightBox").width();
                var windowHeight = $("#rightBox").height() - 60;

            });




        });
    </script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphMeta" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cphFooter" runat="server">
</asp:Content>
